package com.xiangban.dao;

import com.xiangban.model.Hospital;
import com.xiangban.model.res.Ids;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/12/1 9:39
 */
@Repository
public interface HospitalMapper {

    Integer calculateDistance(Hospital hospital);
    Hospital getHospital(Hospital hospital);
    List<Hospital> listHospitalPage(Hospital hospital);
    void updateHospital(Hospital hospital);
    void deleteHospital(Ids ids);
    void insertHospital(Hospital hospital);
}
